﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace Management
{
    public partial class frmMain : DevExpress.XtraEditors.XtraForm
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void btnKullanici_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            using (frmKullaniciTanitim frm = new frmKullaniciTanitim())
            {
                frm.ShowDialog();
            }
        }

        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            using (frmKullaniciDepo depo = new frmKullaniciDepo())
            {
                depo.ShowDialog();
            }
        }

        private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            using (frmKullaniciHaklari kul = new frmKullaniciHaklari())
            {
                kul.ShowDialog();
            }
        }

        private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            using (frmAyarlar prm = new frmAyarlar())
            {
                prm.ShowDialog();
            }
        }

        private void barButtonItem4_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            using (frmKullaniciMenu menu = new frmKullaniciMenu())
            {
                menu.ShowDialog();
            }
        }

        private void btnSrmAtama_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            using (frmKullaniciSrm srm = new frmKullaniciSrm())
            {
                srm.ShowDialog();
            }
        }
    }
}